package com.onec.service.customer.dao.agent;

import com.onec.service.api.dao.BaseRepository;
import com.onec.service.customer.entity.agent.AgentKey;
import org.springframework.data.repository.RepositoryDefinition;

/**
 * @author ONEC
 */
@RepositoryDefinition(domainClass = AgentKey.class, idClass = Long.class)
public interface AgentKeyRepository extends BaseRepository<AgentKey, Long> {

    AgentKey findAgentKeyByAgentId(Long agentId);
}
